<?php

class Document extends AppModel {

  public $name = 'Document';
  public $validate = array(
      'title' => array(
          'rule' => 'notEmpty',
          'message' => 'Title is required'
      )/*,
      'file_path' => array(
          'rule' => 'notEmpty',
          'message' => 'Document is required',
          'required'=>true
      )*/
  );
}

?>
